<template>
   <section class="panel-wrapper"> 
    <!-- 头部导航 -->
    <navbar></navbar>  
    <!-- 路由 -->
    <section class="right-wrapper">
        <router-view></router-view>
    </section>
    
  </section>
</template>

<script>
import navbar from '../components/navbar.vue'
export default {
  components:{
    navbar
  }
}
</script>

<style lang="scss">
.panel-wrapper{
  width: 100%;
  height: 100vh;
  // background: url("../assets/images/homeBg.png") no-repeat;
  background-size: 100% 100%;
  overflow: hidden;
  .right-wrapper{
    height:calc(100vh - 60px);
  }
}
</style>